<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>极简朴素风格 - 设计规范</title>
    <style>
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
            margin: 0;
            padding: 20px;
            color: #333;
            background-color: #f8f8f8;
            line-height: 1.6;
        }
        .container {
            max-width: 750px;
            margin: 0 auto;
            background: white;
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }
        h1 {
            font-size: 24px;
            font-weight: 500;
            margin-bottom: 24px;
            color: #000;
            text-align: center;
        }
        h2 {
            font-size: 18px;
            font-weight: 500;
            margin-top: 30px;
            margin-bottom: 15px;
            color: #333;
            border-bottom: 1px solid #eee;
            padding-bottom: 8px;
        }
        .color-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
            gap: 15px;
            margin-bottom: 30px;
        }
        .color-item {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .color-box {
            width: 80px;
            height: 80px;
            border-radius: 4px;
            margin-bottom: 8px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }
        .color-name {
            font-size: 14px;
            color: #666;
        }
        .color-value {
            font-size: 12px;
            color: #999;
        }
        .typography {
            margin-bottom: 30px;
        }
        .font-example {
            margin-bottom: 15px;
            padding: 10px;
            background-color: #f9f9f9;
            border-radius: 4px;
        }
        .component-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }
        .component-item {
            padding: 15px;
            background-color: #f9f9f9;
            border-radius: 4px;
            text-align: center;
        }
        .button {
            display: inline-block;
            padding: 8px 16px;
            border-radius: 4px;
            font-size: 14px;
            cursor: pointer;
            text-align: center;
            border: none;
            transition: background-color 0.3s;
        }
        .button-primary {
            background-color: #333;
            color: white;
        }
        .button-secondary {
            background-color: #e0e0e0;
            color: #333;
        }
        .button-text {
            background-color: transparent;
            color: #333;
            padding: 8px 0;
        }
        .input {
            width: 100%;
            padding: 8px 12px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 14px;
            box-sizing: border-box;
        }
        .card {
            background-color: white;
            border-radius: 4px;
            padding: 15px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }
        .spacing-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 15px;
            margin-bottom: 30px;
        }
        .spacing-item {
            background-color: #f0f0f0;
            text-align: center;
            padding: 10px;
            border-radius: 4px;
        }
    </style>
</head>
<body>
    <div class="container">
        <h1>微信小程序 - 极简朴素风格设计规范</h1>
        
        <h2>1. 色彩系统</h2>
        <div class="color-grid">
            <div class="color-item">
                <div class="color-box" style="background-color: #333333;"></div>
                <div class="color-name">主色调</div>
                <div class="color-value">#333333</div>
            </div>
            <div class="color-item">
                <div class="color-box" style="background-color: #666666;"></div>
                <div class="color-name">次要色</div>
                <div class="color-value">#666666</div>
            </div>
            <div class="color-item">
                <div class="color-box" style="background-color: #999999;"></div>
                <div class="color-name">辅助色</div>
                <div class="color-value">#999999</div>
            </div>
            <div class="color-item">
                <div class="color-box" style="background-color: #f8f8f8;"></div>
                <div class="color-name">背景色</div>
                <div class="color-value">#f8f8f8</div>
            </div>
            <div class="color-item">
                <div class="color-box" style="background-color: #ffffff;"></div>
                <div class="color-name">白色</div>
                <div class="color-value">#ffffff</div>
            </div>
            <div class="color-item">
                <div class="color-box" style="background-color: #e0e0e0;"></div>
                <div class="color-name">边框色</div>
                <div class="color-value">#e0e0e0</div>
            </div>
            <div class="color-item">
                <div class="color-box" style="background-color: #ff6b6b;"></div>
                <div class="color-name">强调色</div>
                <div class="color-value">#ff6b6b</div>
            </div>
            <div class="color-item">
                <div class="color-box" style="background-color: #4ecdc4;"></div>
                <div class="color-name">成功色</div>
                <div class="color-value">#4ecdc4</div>
            </div>
        </div>
        
        <h2>2. 字体排版</h2>
        <div class="typography">
            <div class="font-example">
                <div style="font-size: 20px; font-weight: 500;">标题文字 (20px)</div>
                <div style="color: #666;">用于页面主标题，重要信息展示</div>
            </div>
            <div class="font-example">
                <div style="font-size: 18px; font-weight: 500;">副标题文字 (18px)</div>
                <div style="color: #666;">用于页面副标题，区域标题</div>
            </div>
            <div class="font-example">
                <div style="font-size: 16px;">正文文字 (16px)</div>
                <div style="color: #666;">用于页面主要内容</div>
            </div>
            <div class="font-example">
                <div style="font-size: 14px;">辅助文字 (14px)</div>
                <div style="color: #666;">用于辅助说明，次要信息</div>
            </div>
            <div class="font-example">
                <div style="font-size: 12px; color: #999;">说明文字 (12px)</div>
                <div style="color: #666;">用于备注，提示等次要信息</div>
            </div>
        </div>
        
        <h2>3. 基础组件</h2>
        <div class="component-grid">
            <div class="component-item">
                <div style="margin-bottom: 10px;">主按钮</div>
                <button class="button button-primary">确认</button>
            </div>
            <div class="component-item">
                <div style="margin-bottom: 10px;">次要按钮</div>
                <button class="button button-secondary">取消</button>
            </div>
            <div class="component-item">
                <div style="margin-bottom: 10px;">文本按钮</div>
                <button class="button button-text">查看更多</button>
            </div>
            <div class="component-item">
                <div style="margin-bottom: 10px;">输入框</div>
                <input type="text" class="input" placeholder="请输入内容">
            </div>
            <div class="component-item">
                <div style="margin-bottom: 10px;">卡片</div>
                <div class="card">卡片内容</div>
            </div>
        </div>
        
        <h2>4. 间距规范</h2>
        <div class="spacing-grid">
            <div class="spacing-item">
                <div>特小间距</div>
                <div>4px</div>
            </div>
            <div class="spacing-item">
                <div>小间距</div>
                <div>8px</div>
            </div>
            <div class="spacing-item">
                <div>中间距</div>
                <div>16px</div>
            </div>
            <div class="spacing-item">
                <div>大间距</div>
                <div>24px</div>
            </div>
        </div>
        
        <h2>5. 设计原则</h2>
        <ul>
            <li>简洁至上：移除一切非必要元素，保持界面干净整洁</li>
            <li>留白充足：合理运用留白，提高内容可读性</li>
            <li>层次分明：通过字体大小、颜色、间距等建立清晰的视觉层次</li>
            <li>功能优先：设计以功能为导向，确保用户可以高效完成任务</li>
            <li>一致性：保持界面元素的一致性，降低用户学习成本</li>
        </ul>
    </div>
</body>
</html>